package work.zhengyun.demo.netty.client;

/**
 * @Author: zhengyun
 * @Email: 574860631@qq.com
 * @Date: 2021/3/24 21:27
 * 模拟多客户端发送报文
 */
public class TestNettyClient {
    public static void main(String[] args) {

        //开启10条线程，每条线程就相当于一个客户端
        for (int i = 1; i <= 10; i++) {

            new Thread(new NettyClient("thread" + "--" + i)).start();
        }
    }
}
